package com.ken.common.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class resources {
    //资源id
    private String resources_id;
    //资源名
    private String resources_name;
    //资源路径
    private String url;
    //资源类型
    private String type;
    //所属课程id
    private String class_id;
    //创建者
    private String creator_name;
    //文件大小
    private int size;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    //上传日期
    private LocalDateTime post_date;
}
